package com.wanmait.baohan.vo;

import java.io.Serializable;

public class DailyPlanVo implements Serializable {
    private Integer id;
    private Integer staffId;
    private String title;
    private String work;
    private Integer startTime;
    private Integer endTime;
    private Integer priority;
    private Integer assignedById;
    private Integer enable;
    //状态
    private String model;
    //员工
    private String staff;


    public String getStaff() {
        return staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }



    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getAssignedById() {
        return assignedById;
    }

    public void setAssignedById(Integer assignedById) {
        this.assignedById = assignedById;
    }



    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getStartTime() {
        return startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
    }

    public Integer getEndTime() {
        return endTime;
    }

    public void setEndTime(Integer endTime) {
        this.endTime = endTime;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(int enab) {
        if(enab==0){
            model="未开始";
        }else if(enab==1){
            model="进行中";
        }else if (enab==2){
            model="已逾期";
        }else  if(enab==3){
            model="已完成";
        }else  if(enab==4){
            model="已删除";
        }
    }
}
